#ifndef CASEDB_IMPL_DIRECTION_CONVERSIONS_HPP
#define CASEDB_IMPL_DIRECTION_CONVERSIONS_HPP

#include "CaseDB/ParamDirections.hpp"
#include <QtSql/QSql.h>

namespace CaseDB { namespace Impl {


/// @ingroup CaseDB
/// @brief It provides methods for conversion from CaseDB::ParamDirections values to Qt QSql parameter direction flags.
struct DirectionConversions
{
	/// @brief It converts from CaseDB::ParamDirections values to Qt QSql parameter direction flags.
	static QSql::ParamTypeFlag toQt( ParamDirections dir);
};

} } // namespace Impl // namespace CaseDB

#endif // CASEDB_IMPL_DIRECTION_CONVERSIONS_HPP
